﻿using LJ.EventBus.Data;
using LJ.EventBus.HornedSerpent.Transport.Abstractions;
using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LJ.EventBus.HornedSerpent.Transport.InMemoryQueue;

public interface IMemoryQueue
{
    void RegisterConsumerClient(string groupId, IInMemoryQueueConsumerClient inMemoryQueueConsumerClient);
    void Subscribe(string groupId, IEnumerable<string> topics);
    void Unsubscribe(string groupId);
    void Send(EventBusTransportData transportData);
}
